Europeans agree to trillion dollar bailout fund