gui includes truth tables
moved table generating logic into prettytable
fixed tests to reflect new expected rows