Palindrome exercises from coursera