public static void generateTeam()
    {
       
       
        
        System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
         Chromosome obj1 = new Chromosome();
//         System.out.println("BATSMEN in the DB : "+obj1.batsman.size());
//         System.out.println("BOWLERS in the DB : "+obj1.bowler.size());
//         System.out.println("WICKET KEEPERS in the DB : "+obj1.wicketKeeper.size());
//         System.out.println("ALL-ROUNDERS in the DB : "+obj1.allRounder.size());
//         System.out.println("END PRINTING THE DB LISTS");
         HashMap< String, List<Player> >obj   = obj1.generatePlayer();
//        obj1.getTeam(obj);
//          System.out.println("Starting to print the random PLAYERS  from THE LIST");
//          System.out.println("********************************************");
//          System.out.println("tEAM CONSIST : "+obj.size());
//          System.out.println("********************************************");
        for(Map.Entry<String, List<Player>> entry : obj.entrySet())
        {
              
            System.out.println("-------------------------------");     
            System.out.println("key is: "+entry.getKey());
            
            System.out.println("value is: "+entry.getValue());
             
            List<Player> p=entry.getValue();
            for(int y=0;y<entry.getValue().size();y++){
                 
//                 System.out.println(p.get(y).getId());
                 System.out.println(p.get(y).getName());
                 System.out.println(p.get(y).getSpeciality());
//                 System.out.println(p.get(y).getName());
            }
            System.out.println("-------------------------------");
            
        }
         System.out.println("end printing the TEAM from LIST ");
         
//         System.out.println("players");
//         obj1.getTeam(obj);
    
        }