added all braces to main .cpp
added braces to board.cpp