Implemented and tested querying of neighbouring fingerprints.