Building a Spellcheck Program in python