Raindrops game with an array