2.3 Problem 4 (Joci Allen)