class Link:
    def __init__(self, direction):
        """
        An incompressible link of fixed length a and either a positive or
        negative direction.

        Parameters:
            direction (int) The direction. Must be 1 or -1.
        """

        self.direction = direction