Create major.cpp