public void warAddtoPlayer2(int s, ArrayList p1, ArrayList p2)
   {
      //Adds card to the player 2 pile
      for(int i=0; i<s; i++)
      {
         if(i<p1.size())
         {
            Object obj1 = p1.get(0);
            Card c1 = (Card)obj1;
            player2.addCard(0,c1);
         }
         
         if(i<p2.size())
         {
            Object obj2 = p2.get(0);
            Card c2 = (Card)obj2;
            player2.addCard(0,c2);
         }
      }
   }