added code to convert a table

Hi:

Thanks so much for creating this code. I needed tables for a project that I am working on so I went ahead and added it.

thanks

Rich