A math program written in C