Source: http://web5.uottawa.ca/mnewman/courses/2018-09.mat2348/english/lect.13.graphs.pdf