Arduino uno - calculating and outputting a time for each loop to execute?