The classMain function

The classMain function emulates the main method in Java and the Main method in C#.

As in Java and C#, the classMain function controls the overall flow of the program once it is invoked.