Implemented MakeCacheMatrix and cacheSolve