Started working on converting lists to markov chains