Update cachematrix.R

It works! In reality, I found that the assigment description only makes things confuse.