DATA BASE GENERATOR WORKING. STILL PBS WITH LEAF DELETING. REECURSIVES
FUNCTION ARE ADDED