Rewrote print_guessed() to return the output, rather than print it in the function