Add method for creating markov matrix from file