Random number

This code generates a random number between low (inclusive) and high (exclusive):