Prints a dynamic table. Create unit test.