quick sort first pivot
quick sort pivot = 1 -- modified with a new logic
Refactored
Spiral Matrix