created new QuadTree functions - improved game efficiency