ING interview question

code problem 1 - nested boxes with 3 dimensions