Added flodfills, msts, shortest paths. Made headers shorter.