added command line argument for compablity

added -i/--iterations option for compability with other benchmarks
added options and result output to files

output files are written to the results directory

added -n/--numberofsamples option to generate multiples samples