How to pre-initialize a mumti-dimensional array in a class and return it to main