lab4.c

Makes lab4.c most updated code.