Modified the print out for HW3_Prob3