Create mainRandomSelection.cpp