generate sentence from grammar
version that reads from a file