modified solution for Spiral Matrix problem

deletede unnecessray code