grid-coordinates (npm): Calculate X, Y coordinates from cell position and grid width.
Keywords: array|2d|1d|matrix|grid|compass|direction|game-of-life