Simplify client code by using raw_input. Also fix a bug in the asking of questions.