C programming class project 1