updated cachematrix file for assignment-2