Update main.cpp

Proposal for following the reservation flowchart with input error handling.