kmer trie generator; ktree(string, k) -> XML trie of k-mers in string