Added function "get_tiles_ids" to TreeSet.