Update lab3.c

add library