Error message reporting.
Added parseMachinePenalties.
Tested parseMachinePenalties.
Merge pull request #51 from Winston-Chan/nathan

Machine penalties complete, others have passed basic testing.