Update main.cpp

main must return int (at least on my OS/compiler combo)