Update simple_rdbms.py

Abstracted the select() method and the procedure to obtain the attributes in a table.  Also added a getTableNames() method to the Database class, which returns a list of the names of the tables in the database.