Added semicolons where needed.
Removed semicolons from switch statements.
Merge pull request #6 from 4lt4i/master

Added semicolons where needed.