C++ implementation of Project Euler challenges