solutions to homework 5 phil 50 added new version corrected