Algorithm Driver to run the algorithm with random numbers and check for the execution time using a profiling program.