school project 1 in C