This program demonstrates the use of a kd-tree for selecting a set of 2d points that appear in a rectangle.