[LC] Add solution to spiral matrix 2.