Port string extensions to Haskell
Rename string.hs to list.hs (since a string is just a list)
Generalize the palindrome function to work for more kinds of lists