The function compute_kmers tries to find how many times a substring kmer occurs in string reference_string, k is the lengh