Solve problem #36
Remove white space
Refactor palindrome method