code for generating table
Merge pull request #1 from dk77/generate_table

code for generating table