cachematrix updated

cachematrix file is updated with the solution of the programming
assignment 2