Add WordSelector class

This class randomly chooses words from a dictionary file.