Lab5.c: test file for lab5