def new_pos(pos, up=0, down=0, left=0, right=0):
    """helper method to generate positions relative distances from an origin position
    >>> new_pos((0,0), down=1)
    (0, 1)
    >>> new_pos((2,3), up=2, left=1)
    (1, 1)
    """
    if not pos:
        return None
    x, y = pos
    return x + right - left, y - up + down