algorithms2: updated tex for Bellman-Ford, Floyd-Warshall and Johnson`s algorithms