Added contains method to Tile