Hyland Interview Question

create a function to figure if a string is a palindrome.