Create main.cpp

Part of the REU project.