Add problem 3 to Lab 4.2