fixed error in board.java