added DSA assignment 2 part 2