more codeeval in C