cachematrix.R added

cachematrix.R is solution for Coursera Assignment 2 in "R programming"