Logistic Map Python Example