Implemented makeCacheMatrix and cacheSolve fucntions