complete spiral.py - spiral5.py.v9