Topic: Matrix Manipulation Problem / Level: intermediate

Problem: Write a program to compute the matrix representation of a Markov chain.

Run the code to see the output here...