The following BankAccount class is similar to that of the example in Worked Example 8.1. It should be illegal to construct bank accounts with a negative balance or interest rate.

Modify the constructor in this class, so that an IllegalArgumentException is thrown in these cases.