Bfs-shortest path

what is wrong in the code. I am not able to figure out.

ide->>https://ide.codingblocks.com/s/199017