Finished the past due part3 of hw3