Paralyze implemented

This is my first time changing common code, so I thought I would have someone review it before getting into master.

I thought of a few approaches to try to make the doIfCostPaid class a bit more re-usable and ultimately decided on inheritance.  If someone thinks there is a better way to make it more re-usable, please let me know.