Create remove-duplicates-from-sorted-list.cpp

Notice when to end loop and remember to move pointers forward