Create numberofcomparisons.cpp