Prosper.com interview question

Write a spiral program(given a 3x3 matrix) and how will you test it, what inputs will be given for this program.