add path-searching applicaiton with breadth first search