The above web page already provide enough information about the requirement for the simulation.
You said: You do not have a clue in how to do this program.
If you do not provide more information, I do not know how to help you. And I can not do it for you.
You need to be more specific: e.g. Do you know how to print string? Do you know how to generate random number? ...
If you indicated which part you do not know how to do. May be I can try to help you.