graph algorithms in progress