Update FloydCycle.java