add algorithm to show hint and ask to try guess the number