Move code to subroutines in exercise.cu/spoilers.cu. Fix the order of the
parameters in the random number generator. Update the README.md file.