Spiral Matrix Code In Python