Added haskell and python palindrome functions