code: def write_version_and_dims(version, dims, f):
      
      f.write(("#" + version + "\n"))
      f.write((dims[0] + "\t" + dims[1] + "\t" + dims[2] + "\t" + dims[3] + "\n"))
docs: Write first two lines of gct file.
  
      Args:
          version (string): 1.3 by default
          dims (list of strings): length = 4
          f (file handle): handle of output file
      Returns:
          nothing