I added the second part of the flowchart and fixed some minor function errors, while adding more parts to the conditionals.