Assignment 3-first half of step 4 done