refactor code to use built-in print-table fn
bump version to 0.5.0