Update main.py

Fixed variable error
Merge branch 'patch-1' of https://github.com/kctess5/xkcd-hashing into kctess5-patch-1