Added comments

Added more comments to main.cpp