added createTree.py to create a tree of switches