Updated Lab1.c file