reverse

fun reverse(from: Int, to: Int)