C implementation of Project Euler