Add delete function to Table class