Added informational debug statements to the main program