changed method of getting objects is now O(1).

getPersonByName and getTableByName now uses the hashtable implemented by
both Person and Table