I just finished an example in java 8 about an implementation of the
Dijkstra algorithm to build the shortest path.