Spiral Code In Python For Creating Variable Size