Project Euler solutions with C language