Slight refactor

Use arrays instead of arrayrefs.  Redo the initial build of alphabet and
seps arrays in terms of grep().  Use join() instead of concatenation.