added initial code for sentence gen, doesnt work, exposed more graph gen bugs