Closest pair

- Plot points
- Add new functions to common libs and write tests.
Merge branch 'closest-pair'