I don't really understand what you're trying to do, but your description makes me think of the 5 dots as a 5-digit binary number. If you think of it that way, you could generate a random number, 0 -...