Modified to show the srand() and rand() commands, also changed header around a little.