Introduced the option -d to specify debug level

With the command line argument -d the user can set the debug level, a.k.a.
the verbosity of the program the the desired level.