***Added case 6 AND UPDATED PATIENT TABLE

*Java code will be reviewed to reduce it if possible*
Code seems too much but it does what I think it should do.
1. Gets the cost of the treatments for an appointment
2. Update this cost if the patients plan covers it
3. Modifies what he has left to pay in Patient table.
4. For the specific appointment, if he has paid for all his treatments
then it sets paid to 1 for that appointment.
5. Also so many different queries doing different things so it looks
bulky.

PATIENT TABLE
patient table now has
checkups,visits,repairs to keep track of each checkup and repair and
visit a patient has if he has already used out of what the plan covers.