SpiralAlgorithm You only need to input a number and the algorithm generates a cordinate from a spiral matrix