added function to print out genes for 1DArray genome