Update cachematrix.R

Modified the functions makeCacheMatrix and cacheSolve to Create a Matrix and return its Inverse from the Cache as and when needed.