Solved problem 4, palindromic numbers