Merge pull request #10 from matth/master

Fix missing end statement bug
Merge remote-tracking branch 'upstream/master'