change file open to with structure.
add the kmer.
ignore the print information and add the test case.
list comprehension and change a little