nextLocation

fun nextLocation(lastLocation: InputLocation, newLength: Int): InputLocation