Commit updated cachematrix program to ProgrammingAssignment2