Completed TileReader and TileWriter. Tiles can be compared to other
tiles.