Create cachematrix.r

programming assignment 2 in r