doing homework 2, TwoDimArray