Chain Reaction clone in java.