I'm only doing this in order to connect it to Tarjan's algorithm. It requires a specific format for the input data, which is not useful anywhere else. The algorithm will have to be revisited at one point in order to make it compliant with the classes we are using in the parser.