Algorithm for computing the moduli space of pointed Gorenstein curves with Weierstrass gap sequence \(1,2,\ldots,g-2,\lambda,2g-3\) Footnotes to a paper of Beniamino Segre. (The number of \(g^1_d\)'s on a general \(d\)-gonal curve, and the unirationality of the Hurwitz spaces of 4-gonal and 5-gonal curves) 