Create series_major_element.cpp