public synchronized boolean try_enter(Passenger p,int floor, int goal_floor)
	{
		if(busy == true)
		{
			try {
				wait();
			} catch (InterruptedException e) {
				return true;
				// TODO Auto-generated catch block
				//e.printStackTrace();
			}
		}
		
		else if(p.get_waiting())
		{
			if(current_floor != floor)
				go_on(floor);
			//Winda zostala zwolniona
			busy = true;
			return true;
		}
		return false;
		
	}