Create main.cpp

An interface between engine and XBoard/WinBoard via stdin