ModiFace interview question

How do I access and edit the value of an N-dimensional array numerically?