a little module for combinatorics on words