a lock-based quadtree in Go