tried to add code that would print a nested table like prob 11