updated cachematrix file for assignment2