Update Board.java: a little improvement of design