Update TraficLight.java

added counter example
updated with validity
Update TraficLight.java

added counter example
fixed merge problem
Merge branch 'master' of https://github.com/fransb/TraficLight.git
Added validity
fixed validity