WinWire Technologies Interview Question

Print a given matrix in spiral form