Update main.cpp

update
Merge pull request #2 from Rachez/patch-2

Update main.cpp