lab 2 problem 1