I cannot see the problems. Here is a great tutorial that might help you in the meantime:
My homework related to Dijkstra Algortihm and Message Transmission. I need your guidance and help to complete this assignment. I've already struggled with the first two questions (Even though, I'm not sure whether they are correct) and the rest of them, I couldn't complete...That's why I need your assistance.