Simple combinatorial PAL/GAL reader

beware that '0' is 48
If you want zero, use 0
(no quotes)