Added the main.cpp file that Andrew didn't commit