Cograph-Related Algorithms