my project euler solutions - probably in C++