Modification of Depth First Search (DFS) obtaining the shortest circle in the graph
[IMPORTANT] Only for studying purposes. I highly do not recommend usage of the source code as the presentation of your own work due to plagiarism consequences it could have led to.