Create 0-encoders

SCRATCH code for checking ENCODERS.

Worked once, didn't work a second time... needs debugging.

WORK IN PROGRESS