Adding my answer to the number-guessing game