fix a bug in spiral matrix