Test some weird alphabets
Using set operations is crazy, use integers instead
clean it up a bit
fixed bug with rebuild. Need to track which letters actually got added at each step, not the words