Python Threading Class Method Example In Python