recursive solution to Spiral Matrix II