Source: https://info-llg.fr/option-mp/pdf/TP_coloration.pdf