srand() added for random.