Fix indent, add isPalindrome() with equal() and rbegin()