The challenge is simple. Return a random integer N such that a <= N <= b.
a
b
randomInt(5, 9) ➞ 7 randomInt(5, 9) ➞ 9 randomInt(5, 9) ➞ 5