public synchronized int shutdown( )
	{
		while( true )
		{
			if( ! elevator.isEmpty() )
			{
				try {
					wait( );
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			}
			else
			{
				return 0;
			}
		}
	}