got text into 2D array and prints array out