Template & start of problem 4.

(palindromic numbers)
Reverse function for problem 4 (palindromes)