Implemented cacheMatrix and cacheSolve objects