Update Board.java

Refactor unnesesery code