first post of Kd-tree-exercise1