Made Changes in MarkovChain Class and its Test Class