corrected solution homework 6 phil 50 added