project euler challenges done in c++