lab4 for cs3157