Attempt at palindrome.

Not sure if its actually tail recursion though.