solutions for homework 9 phil50 added