Eating a diet rich in beans, nuts and cereals could help to prevent cancer because the foods contain a natural compound that inhibits the growth of tumors.Scientists at University College London (UCL) said on Thursday that the substance called inositol pentakisphosphate, which is also found in lentils and peas, could also help researchers develop new therapies against the disease.