Comcast Interview Question

print matrix in spiral form.