fixed pep8 and fixed a bug in displaying a jumbled word