Cleaning code in Board.cpp