Kd-tree initial commit

Initial commit of Kd-tree files.