install pycharm. visit https://www.jetbrains.com/pycharm/download/#
run the script word_chain_puzzle.py inside pycharm(please note it uses dictionary.txt for generating list of words, if you don't install pycharm and open both the files in one project, you may need to set path manually)