setting up quadtree for entity collision