Fix compile errors in Board.java and Tile.java