[Assignment 2] Adding the implementation of cacheSolve and makeCacheMatrix