Added solution cachematrix.R