only thing you will need the the random() function
other parts are basic