sorry, actually i wanted to ask what rand() is in your code (i have edited my question but you replied too fast). you are only allowed to use rand5().