get_similar_nbrs function

Get neighboring nodes based on node attribute similarity