Now helps solve problem 2e on Astro 5 HW