Created by: cgogolin
added the next_neighbors function to the documentation and exposed it to the user