Added code for makeCacheMatrix and cacheSolve functions