added comments to both lab2p1.c and lab2p2.c