initial quadtree implemention with add, query, divide methods