https://github.com/AndreiMaga/SP-Lab1/tree/321f1ff95f1626ad35e8e697697306e53a30a601
all good
https://github.com/AndreiMaga/SP-Lab1/commit/f07abf553972b4eea7de6332dd028215e3e0c833
all good
https://github.com/AndreiMaga/SP-Lab1/tree/409281693da178b2e6685e73db9ee44f5fcb7586
all good
https://github.com/AndreiMaga/SP-Lab1/tree/9100e54fcd1ac2aa2976181979609d15d7797c2e
try to create a visitor to generate ToC
[Andrei] - Added ToCVisitor to solve this, see #10