Parse the Open Directory Project into a tree structure in python