Update tools.py

Problem #7 - implemented the evaluate_cancellation_pending_due_to_non_pay method.

Note - There is a unit test in tests.py for this.