Working on lab3.c