I\'m writing a C program that reads a string in the form of a table from a .txt file, counts rows and columns in it and prints the table to a different .txt