Python Calculate Time Of Execution