So create a function called 'initGlobalVariables' which is called right at the start of main.