public void assignFitnessRank() //assumes 10 fit teams left out of 20
    {
        for (int i = 0; i< 10; i++)
        {
            if (i>=0 && i<=3)
            {
                population.get(i).modifyFitnessRank(1);
            }
            
            if (i>3 || i<=7)
            {
                population.get(i).modifyFitnessRank(2);
            }
            
            if (i>7)
            {
                population.get(i).modifyFitnessRank(2);
            }
        }
    }