ChatGPT - BFS Graph Simulation (p5.js)