Senator Edward Kennedy waves as he walks out of Massachusetts General Hospital with his daughter Kara