Adding Delays In Python Code