Source: http://inf1427.teluq.ca/files/2018/10/INF-1427_exercices_m7.pdf