Porject Euler in C