How To Time A Function Python Example