See comments

* Separated the mine layout from the hint value setting code.
* Added a tileAtIndex function that returns an optional tile. I thought
array subscripting would itself return an optional. Doesn’t seem to be
the case.
* Dumbed down the neighboringTiles function. Uses if let optional
binding.
* Added basic flag ivars in the Tile class.