A simple k-d tree library in F#