@Override
 // Method for actionPerformed by Random Listener
 public void actionPerformed(ActionEvent e) {
   // Stop the simulation
   listener.stopSimulation();
   // Clear the grid
   cp.getFrame().clearGrid();
   // Clear the generation count
   cp.getFrame().clearGenCount();
   // Make the grid a random initialization
   cp.getFrame().randomGrid();
   // Makes the grid NOT editable
   cp.getFrame().setGridChangeable(false);
 }