Proximity-Based Neighbor Retrieval - Coding problem | OneNoughtOne