Fixed use of commas and semicolons. (removed uneeded commas, terminated statements &etc.)
Merge pull request #29 from SamuelMarks/master

Fixed use of commas and semicolons.