Revert "Update main.cpp"

This reverts commit 7a0e5b3029b12c200a45959a27cde84d50685708.