Logic and syntax

Added LED logic