Update PartTwo.java

Fixed "skipping certain junctions" problem :)