c++ code snippets to try new language features and some algorithms pracitce