Project Euler Problem 4 in Java (number palindromes)