fix solution for kmer

the range is not len(s) -3 but -2 as range exclude the end value