changed trivium state to one shiftregister
updated generator function to include init-step
rewrote updateState() as trivium()