Implement cacheSolve with header comments
Fix typo, improve wording