Snippets

Create a few snippets for code i commonly use
Merge pull request #2 from jasper07/master

snippets for common code