reset working. trafficlights1 fully working
some bug fixing related to the counter reset