Intrinsic interview question

(1) Return the size of a square located in a 2-D array with some simple test functions. (2) Implement a container with Get and Set operations.