Implement beginning code for simulation SwingWorker