Update Friends.java

Work on shortestChain