Euler Problems in C++