Sequential Learning and Variable Length Markov Chains