Python - Iterated Function Systems