Create rmdupinsortedarray.cpp