Euler Project in c (at Xcode)