Matrix Applications: Markov Chains and Game Theory