https://files.askiitians.com/cdn/images/20181121-133039655-1202-2-chapter-27-introduction-to-graphs-exercise-27.1.png