an attempt to learn C++ and have fun on project Euler at the same time