finished implementation of ungapped kmer