Merge pull request #19 from cbyn/alex

refactor table printing