[solved] traffic light code

what it does instead is yellow, red, yellow, yelow, yellow and red, yellow and green, yellow etc. with the pedestrian green on all the time. this makes me think it is a combination of wiring and code problems