Replaces an old successor with a new successor. This will throw RuntimeException if {@code oldIndex} was not a successor.
@param oldIndex index of old successor block
@param newIndex index of new successor block
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.