Finished matrixmath.java assignment
Tried to replicate matrixmath.java in python