Java implementation of a fireworks display