A PCR simulation in python