Added option -p to programm to specify output file

Added the optional -p switch to the command line arguments of the program.
With -p [Filename] the program prints the graphviz output graph in file
[Filename] instead of stdout