recursive function call to solve spiral m-d matrix

nice one!

took me a little bit to figure out what i needed to do with the return of the recursive function call