Update cachematrix.R

Implemented both cacheSolve and makeCacheMatrix for Progamming Assignment 2