finished changes to Board.java