text: #include <stdio.h>
  #include "transciever.h"
  #include "scanner.h"
  
  
  int main(int argc, char** argv)
  { 
      char  doProgram; //Variable to store first response as to whether to run the program
      int   *width, *depth;
      //eventloop
      mainloop:
          //Start Condition for Program
          printf("[SYSTEM] Run Scan (Y/N): ");
          scanf(" %c", &doProgram);
          switch(doProgram)
          {
              case 'Y':
              case 'y':
                  goto program;
              case 'N':
              case 'n':
                  goto end;
              default:
                  printf("[ERROR]  Invalid Input, Try Again\n");
                  goto mainloop;
          }
          
          //Body of Program
          program: 
              while(setupTransciever()){} //Check if transciever connected properly
              printf("[SYSTEM] Transciever Online\n");
              printf("[SYSTEM] Enter Units of Width and Depth of Scan Area (W, D): ");
              scanf(" %i, %i", width, depth);
  
              //Execute Scanning Procedure
              if(runScan(*width, *depth))
              {
                  goto end;
              }
              goto mainloop;
          
          //Terminating Processes for the Program  
          end:
              printf("\n===\tProgram Terminated\t===\n\n");
      return 0;
  }