Set log level to INFO
Using sets instead of lists to prevent duplicate nodes, and running in cycles.