Working on commenting all of the logic for the table filling process so that it is not as confusing at first glance.