$ 0 0 H.J. Heinz, the food giant, has agreed to be taken private by Berkshire Hathaway and global investment firm 3G Capital.