Enhanced 'grep'; use head/tail on dictionary.txt