Update removeDumplicates.cpp