Update GameModel.swift

You can use 0..dimension instead of 0...dimension-1