Sum of Natural Numbers in C