little change to the snippets

I have made some changes to the snippets to have a ";" at the end and added my own simpler version of `require` Snippet.