initial setup for Running Time of Algorithms
final version of Running Time of Algorithm