Python implementation of Variable Length Markov Chains