cachematrix.r

For P programming assignment 2