Practice of Graph Search Algorithm