Update tomtop.rb

Add check_table method