implemeted GameBoard.java