public void populateWorld(int numMolecules, int numSpecies){
    
    int rand;
    
    Molecule nullMolecule = new Molecule();
    bucket.add(nullMolecule);
    
    for(int i=1; i<numMolecules; i++){
      progress("Spawning...", i, numMolecules);
      rand = (int) (Math.random()*(double)(numSpecies-1)) + 1;
      bucket.add(new Molecule(rand , nullMolecule, nullMolecule));
      bucket.get(i).calculateMoleculeID(0,0, new int[0]);
      bucket.get(i).setState(library.get(rand).getState());
      //String str = bucket.get(i).toString();
      //System.out.printf(str);
    }
    
    progress("Spawning...", numMolecules, numMolecules);
  }