added index function

makes the raindrops fall almost one at a time. if that raindrops is not
caught, it will continue to fall until it is