working on Tile.java