Update cachematrix.R

Add solutions