Create kdtree.c