Add problem 4-2 and its improvements.