Implementations of famous graph algorithms