make a subgrid -- can use as basis for generalization, this implementation assumes a 9x9 array, and returns the elements of the 3x3 subgrid that a given element (specified by its indices) belongs to