modified printTable to resize column attibute when displayed if it is
larger than column size. Will come up with better solution later.