comments to main.cpp readme file added