add some useful cpp snippets:

    * finally override the for snippet
    * add temp -> template
    * refine main
    * hg -> #ifdef headerguards (auto-named)