public void sitDown(Table[] tables, Restaurant restaurant)
	{
		//Le statut de la table passe a occupé
		int numberOfPoeple;
		System.out.println("How many people are you?");
		numberOfPoeple = scan.nextInt();

		//for sitting down a table must be free and must have the right superior number of chairs
		for(int i = 0; i < tables.length; i++)
		{
			if(numberOfPoeple == tables[i].getChairsNumber() && (tables[i].isFree() == true))
			{
				for(int j = 0; j < tables.length; j++)
				{
					System.out.println("You can take place on table number : " + tables[j].getTableNumber());
					tables[j].setFree(false);
					restaurant.displayRestaurant(tables);
					break;
				}
				break;
			}

			if(numberOfPoeple < tables[i].getChairsNumber() && (tables[i].isFree() == true))
			{
				for(int k = 0; k < tables.length; k++)
				{
					System.out.println("You can take place on table number : " + tables[k].getTableNumber());
					tables[k].setFree(false);
					restaurant.displayRestaurant(tables);
					break;
				}
				break;
			}

			if(numberOfPoeple > tables[i].getTableNumber())
			{
				System.out.println("Sorry! There is no table free at the moment for" +  numberOfPoeple + " people.");
				restaurant.displayRestaurant(tables);
				break;
			}

			if(tables[i].isFree() == false)
			{
				System.out.println("Sorry! There is no table free at the moment.");
				restaurant.displayRestaurant(tables);
				break;
			}
		}

	}