Functional Programming-Traffic Light Timing