updated Palindrome.java to more efficiently compare integers by simply computing the reverse instead of by comparing each digit