@staticmethod
def _check_limits(ypos, xpos):
    """Checks if the user has passed some coordinate y / x greater than that existing in the mainframe
        """
    if int(ypos) > 24:
        raise Exception(
            'You have exceeded the y-axis limit of the mainframe screen')
    if int(xpos) > 80:
        raise Exception(
            'You have exceeded the x-axis limit of the mainframe screen')
