Updated to working Question 10

This version of the question should operate correctly.  Again, if you see an error drop me a line and I'll fix it up.