Final Commit

Fixed typos. Also changed the cacheSolve function to use an if-else
instead of the return function.