ram's chapter 10 answers

General question - can `$guess` be `undef` here?