Attempting to work through problem 15.