i am writing a text based program for a car indicators. to beable switch the left indiactor on the right on and emergency on. e.g if the left is on and i turn the steering wheel left and turn it back to (right) it should automatically switch of jus like a normail car would.