@staticmethod
def next_right(direction: int) ->int:
    """
        Returns the next right direction
        :param direction: the specified direction
        :return: the right direction
        """
    return (direction + 1) % 4
