Updated Graph Algrithms