Spiral Pattern In Python