updated the Grid to return the index of the winning or blocking moves rather than just identifying that the move exists