Interface changes in genseq

Changed interface of SequenceGenerator and Emitter for beam search.
Oops, I don't.