Added monitorization

Now you can monitorize the execution time of the algorithm