Coursera prograaming assignment with kd-trees.