finished Board.java