Added the solution to the file cachematrix.R