Bfs Algorithm Using Python With Html5 Canvas