update syntaxes for switch statements and more
Merge pull request #6 from davidleibovic/master

update syntaxes for switch statements and more