Problem 2 for Project 3

Completed problem 2 (nodups,removedups) for project 3.