2nd version, dealing with I/O
test file for Palindrome.hs