Create majorityNumber2.cpp