Update DegreeOfSeperation.java

Implement Dijkstra's Algorithm
Resolve #9