Adding hw04 soln
Adding code for quiz 4