Writing yas snippets

Reference: http://joaotavora.github.io/yasnippet/snippet-development.html