Added method add_text to table.rb