updates ignore file
adds the KdTree implementation and fixes one minor bug