Swift random int in range. This can be implemented as Int.