Homework 2/4 (John Gallagher)