added position and speed constants, switchLED, checkGateMotion, and started on openGateIncrementally