getChildPositions

private fun getChildPositions(): ArrayList<ArrayList<Int>>

Gets the positions adjacent to each position in the puzzle grid.

Return

Positions adjacent to each position in the puzzle grid, with the first element of the returned ArrayList pertaining to the positions adjacent to 0, the second element pertaining to those adjacent to 1, and so on.