Created new class to measure algorithm spent time
Included special timer class to measure elapsed time