Added the timing analysis for the two algorithms in this class.