Pergunta de entrevista da empresa Apple

Given a 2D array, build a class that has a pointer moves around the array.