Spiral Matrix Leetcode Python Solution