Implement an alternative and simpler solution for spiral matrix filling problem.