ryan and audrey's programming of euler project 1 in C