Added cachematrix.R file with my solution