DoubleRing.java bug solved