added timer which records the time taken to complete one line of input.txt