Update main.cpp

Indentation and spelling.