Simple word guessing game written in Python