added 3rd tempalte solution and updated 2nd solution
Merge branch 'master' of https://github.com/marozau/cpp_craft_0314