Update cachematrix.R

First commit for caching a matrix and taking its inverse