C Code for Project Euler