renamed main in preparation for 2nd order markov chain program