Added benchmarking of the code by using the flag -bm