Graph traversal algorithm using queue for level-wise exploration
Explain code with DocComment! Try out your own code!