Step 7: Functions
Create a function which takes the attacker damage, defender health, and defender defense, and outputs the defender's new health. Note that you should cover edge cases, such as the fact that health can't be negative and that damage dealt can't be negative.