Completed HW4 pt 1