Enhanced my word guessing program.