Programming Assignment 2

Updated cachematrix.R to complete the assignment