Added a ParsingFunctions.hs file and made it into a module.