Update ampelmanager.py

first implementation