Project Euler solutions using c++.