private int getLeastWorkingDriver(int[] driversList, Date day, service serv)
  {
    int minMins = 3000;
    int driver = 0;
    boolean temp = false;
    boolean found = false;
    for(int i=0; i<driversList.length; i++)
    {
      temp = false;
      found = false;
      if(minutesDriverWorked[i] < minMins && DriverInfo.isAvailable(driversList[i], day))
      {
        for(int j=0; j<driversUsedIndex; j++)
	{	   
	  if(driversList[i] == driversUsed[j].driver_id)
	  {
            if(serv.starttime > driversUsed[j].endTime)
              temp = true;
	    else
            {
              temp = false;
            }
              found = true;
	  }  	  
	}   
	if(temp)
	{
          driver = driversList[i];
          minMins = minutesDriverWorked[i];
	}
	else
	{
	  if(!found)
	  {
            driver = driversList[i];
	    minMins = minutesDriverWorked[i];
	  }
	}
      }      
    }  
    driversUsed[driversUsedIndex] = new driverUsed(driver, serv.starttime, serv.endtime);
    driversUsedIndex++;
    return driver;
  }