Djikstra's algorithm. Blackjack DecimalFormat changes.