def _sqcases(nrows):
    """Creates a square cases."""

    sqcases = ""
    if nrows == 1:
        sqcases = "[ x"
    else:
        sqcases = (
            "⎡ x\n" + (
            "⎢\n" +
            "⎢ x\n") * (nrows - 2) +
            "⎢\n" +
            "⎣ x")
    return sqcases