added number of guesses incremeter and removed echo fo guesses from inside the loop