Euler Project Problems in C