private void populate()
    {
        Random rand = Randomizer.getRandom();
        field.clear();
        int Number_of_foxes = 0;
        int Number_of_rabbits = 0;
        int Number_of_korenwolfs = 0;
        for(int row = 0; row < field.getDepth(); row++) {
            for(int col = 0; col < field.getWidth(); col++) {
                if(rand.nextDouble() <= KORENWOLF_CREATION_PROBABILITY) {
                    Location location = new Location(row, col);
                    Korenwolf korenwolf = new Korenwolf(true, field, location);
                    actors.add(korenwolf);
                    Number_of_korenwolfs++;
                }
                else if(rand.nextDouble() <= FOX_CREATION_PROBABILITY) {
                    Location location = new Location(row, col);
                    Fox fox = new Fox(true, field, location);
                    actors.add(fox);
                    Number_of_foxes++;
                }
                else if(rand.nextDouble() <= RABBIT_CREATION_PROBABILITY) {
                    Location location = new Location(row, col);
                    Rabbit rabbit = new Rabbit(true, field, location);
                    actors.add(rabbit);
                    Number_of_rabbits++;
                }
                else if(rand.nextDouble() <= HUNTER_CREATION_PROBABILITY) {
                    Location location = new Location(row, col);
                    Hunter hunter = new Hunter(field, location);
                    actors.add(hunter);
                }                 
                else if(rand.nextDouble() <= 0.03) {
                    Location location = new Location(row, col);
                    Grass grass = new Grass(field, location);
                    actors.add(grass);
                }      
                
                // else leave the location empty.
            }
        }
        Rabbit.PERFECT_NUMBER_OF_RABBITS = Number_of_rabbits;
        Fox.PERFECT_NUMBER_OF_FOXES = Number_of_foxes;
        Korenwolf.PERFECT_NUMBER_OF_KORENWOLFS = Number_of_korenwolfs;       
    }