@staticmethod
def unit(val):
    """
        takes one value and returns a generator that yields that value.

        Complexity: O(1)
        params:
            val: the value to yield
        returns:
            the generator of the parameter
        """
    yield val
