Sprinkler Controler (Programming in Java - Semestral project)