finds and returns both node indices that the input node is connected to, as well as the edge weights
Alphabetic index