Update main.cpp

more comments added