Generate Spiral Grid - Coding problem | OneNoughtOne