Revised matrix multiplication logic and added comments to Game class.