Created Array2D class

Will be used in future to simplify usage of 2D arrays.