Update newmain.cc
Merge pull request #2 from richardljao/master

Update newmain.cc