Added comments
Plot graph if no output file is provided
Merge pull request #6 from benmel/print_result

Comments and plot