project euler in c++