better version of Spiral Matrix