Project Euler problem 3 in C