refactor table printing
Merge pull request #19 from cbyn/alex

refactor table printing
finished table refactor
Merge pull request #20 from cbyn/alex

finished table refactor
merge