commiting cachematrix for assignment 2