Closest neighbour feature

- specs for closes neighbour implementation
- addes pry