working solution for palindrome number
fix styling