can now produce DFAs from traversing regexp tree. No idea if it works, needs testing