added two d array class