Added a temporary file of my previous work.
Almost got the table initialized.