Merge pull request #34 from Winston-Chan/nathan

Nathan
Merge pull request #35 from Winston-Chan/nathan

Removed unnecessary Data.List.whatevers
Merge pull request #36 from Winston-Chan/nathan

Fixed errors preventing compilation.
Added checks for garbage lines in parser.