place my solution in file cachematrix.R