Main cpp

This program is written in C++.