Mostly done with QuadTree
Just need to write the part that merges partitions that have too few members.