Fixed spelling error in main.cpp

Just a small fix that bothered me when I read the source code.