updated board.java