@Override
	public int getMaxStartFloor(int direction) {
		int temp = 0;
		if(direction == -1) temp = this.getFloors(); //set top floor to count down from.
		
		for(Customer cust : this.getCustomerList()){
			//only count customers that are still active and not already in elevator
			if(!cust.getFinished() && !cust.getInElevator()){
				if(direction == 1){
					if(cust.getStart() > temp) temp = cust.getStart();
				} else if (direction == -1){
					if(cust.getStart() < temp) temp = cust.getStart();
				}
				
			}	
		}
		return temp;
	}