refactored QuadTree example
refactored Set example