Python Tree Data Structures