add lab3 and main.c