Completed makeCacheMatrix and cacheSolve functions and added comments