Minor changes to LetterFSA.hs for better error handling.