Update java & Add test,expected

Update Graph, DijkstraSpecializer, PS3TestDriver.java
Add p3TestGraph for test