Create distinctSequence.cpp