implemented Tables class
Foolproofing the Table