Flashes on the Sun Could Help Scientists Predict Solar Flares