changed main.py

Will only call hangman() if main.py is the main file that you execute.
if for some reason you want to implement the file as a module that is
called from another file, hangman() won't be executed automatically.