euler problem 12 in C