Update cachematrix.R

add solution