Add solution for POJ 2240 Arbitrage
detection of positive infinite loops
applying Bellman-Ford algorithm, care about the precision of float-type
variable ("double" must be used here).

Warshall-Floyd algorithm should work, too.