Create majority-element.cpp