implemented board.cc and board.h