added makeCacheMatrix and cacheSolve functions