Aptean Interview Question

1. Write a program to print a 8 x 8 matrix in spiral order. 2. Design patterns.