indexReplace

fun indexReplace(index: Int, newValue: Int): Int