Update TraficLight.java

added counter example