Improve snippets

* Changed some snippets like the for loop, so you don't have to change `i` three times, it is edited at all three places at once now.
* Deleted a redundant line
* Added a snippet for a void function and one for other functions (with return values). I'm not sure about the latters prefix, though. It's now `func`, but if someone knows a better name, go ahead!