hw-2: added <= to matrixmult code