Pretty print a 2D table C++