added started code for assignment 3 - markov models