rewrite leetcode spiral matrix ii