THE SHELL MAP: The structure of froths through a dynamical map