Print useful message if our word list is empty
pep8 pedantry
moved a few lines out of main to allow an external function to call in easily
Merge pull request #3 from ianozsvald/master

Small refactorings, some clean-up