Update palindrome_number.cpp

my solution;) 
I think call the f function recursive is not a good idea, 
you can divide the problem into two parts
1: get the digits of the integer in array representation 
2: judge whether an array is palindrome or not
This makes the solution clear and simple.