Initial code
Time measurement