Update cachematrix.R

Added some more tests