part one

Part 1: Nearest neighbors search