Application of the Bellman Ford algorithm to detect negative cycles in the Oanda foreign currency exchange