bugfix for words.py
added merge, randomize, getitem and repr