def spaceX(elements, x0=-5, gap=5):
    """Changes the horizontal coordinates of all <elements> to make them
    spaced of <gap> each other, beginning at <x0> coordinate"""
    previousX = x0
    for elt in elements:
        elt.left = previousX + gap
        previousX = elt.right
