add removeDuplicates.cpp