HPSC assignment 1: Matrix multiplication