Added a function addToTable to add tokens and update df and tf.