On the generation of Heronian triangles