copied my ckdtree code into the repo