Breadth First Search algorithm visualization