Update main.cpp

Addes a usage function to it with more comments and also stop this program if it has paramters.