Update lab3.c
Merge pull request #3 from Typhoan/patch-1

Update lab3.c