modification of Word Ladder

Fix the bug in Dijkstra Shortest Path Algorithm. And realize the fellman-ford algorithm which have worse performance in this case. All in all, program runs well on my machine, but output runtime error on leetcode submission