lab2 for cs3157