private boolean isInPile(Pile p,Card c)
	{
		int pileSize=p.getNumCards();
		Card r;
		for(int i=0;i<pileSize;i++)
		{
			r=p.getCard(i);
			if((r.getSuit()==c.getSuit())&&(r.getFaceValue()==c.getFaceValue()))
			{
				return true;
			}
		}
		
		return false;
	}