Added checks for garbage lines in parser.
Merge pull request #37 from Winston-Chan/nathan

Added checks for garbage lines in parser.