Creating a State class to more easily use different Markov orders