Working on projecteuler in pure C