public void findBestHand(Player p)
   {
      int size = p.getAllCards().size();
      Hand curHand;
      Hand bestHand = new Hand(p.getAllCards().get(0), p.getAllCards().get(1), p.getAllCards().get(2),
         p.getAllCards().get(3), p.getAllCards().get(4));
   
      if(size > 5)
      {
         for(int i = 0; i < size; i++)
            for(int j = i + 1; j < size; j++)
               for(int k = j + 1; k < size; k++)
                  for(int l = k + 1; l < size; l++)
                     for(int m = l + 1; m < size; m++)
                     {
                        curHand = new Hand(p.getAllCards().get(i), p.getAllCards().get(j), p.getAllCards().get(k),
                           p.getAllCards().get(l), p.getAllCards().get(m));
                        
                        //System.out.print("CurHand: ");
                        //curHand.printHand();
                        //System.out.print("\nBestHand: ");
                        //bestHand.printHand();
                        
                     
                        if(compareHands(curHand, bestHand) > 0)
                        {
                           bestHand = curHand;
                           //System.out.println("\nCurHand won\n\n");
                        }
                        else
                        {
                           //System.out.println("\nBestHand won\n\n");
                        }
                     }
         p.setBestHand(bestHand);
      }
   }