finished part 2 of the cics525 lab 4