write PalindromeNumber and its test