Update quad_tree_v2.py

Added a z parameter for six-dimensional hyper-cube query