Initial rough implementation of DAWG