Fix the code in the main loop to play the number of times defined and reveal letter when are duplicated in the playing word