Analyzes Markov chain presented in the form of adjacency list
[University programming assignment] Analyzes Markov chain presented in the form of adjacency list