'until' function inspired by Scala

Create a list of int in range [init, upper).