rand() is a standard c/c++ function

i thought we had to use rand5(), i did not know that it was the only function we were allowed to use.

btw, how did you get the 19531? did you invent it or is there a system behind?