implemented makeCacheMatrix function
implemented cacheSolve and added code comments