updated main.cpp comments a bit