Update GameModel.swift

You can use 0..dimension instead of 0...dimension-1
Merge pull request #2 from AKSHAYUBHAT/patch-1

Update GameModel.swift

Changes:
- Changed loops to use half-inclusive (..) range operator rather than full-inclusive (...) range operator