update PrettyTable outdated code

Some PrettyTable methods and signatures were changed.
examples 3.7, 3.8, 3.9
Merge pull request #35 from vkrest/master

Update some outdated code for PrettyTable (Thanks so much @vkrest!)