Implemented help function display with -h flag and the initialization of the globals class taking the command line arguments as intializers