import sympy


def submatrix(game, i, j):
    """
    Returns a 2x2 matrix, made up of indices i, and j of the given game
    
    Parameters
    ----------
    game: sympy.Matrix
    i: int
    j:int
    
    Returns
    -------
    out: Matrix
    
    See also:
    ---------
    Non symbolic equivalent pyevodyn.submatrix
    
    Examples
    --------
    submatrix(Matrix([[1,2,3],[4,5,6],[7,8,9]]), 1,2)
    >>>Out[1]: 
    [5, 6]
    [8, 9]
    """
    return sympy.Matrix([[game[i, i], game[i, j]], [game[j, i], game[j, j]]])