update homework 02-19 based on correction from Matthew T. Heid