added traffic light code to lecture 19