Euler Programming Problems C