moved int(guess) outside of hint logic