updated size of 2D array fixing Segmentation Fault