lab3 for cs3157