Pergunta de entrevista da empresa Proofpoint

write code the navigate a matrix , from outside to the center.