Added isPalindrome method
Finalized solution for problem 35
Solution complete, needs to be faster