Adding cardinal index to the Tile class.