clean / refactored most of ulli's wishes
for header "graph_algorithms"