Practicing my C/C++ via Project Euler problems