added C++ code
Merge branch 'master' of https://github.com/foges/pogs