Successful passing of 2d array + printing it