This is version 3 of my Functions_Industry JavaScript file.
In this version I have added comments in the code explaining the procedures taking place.