project euler solutions in c