C code for solving Project Euler problems