updated pin numbers
added yellow detection
changed name to keep Victor's version
changed to work with main via string passing
changed to work with state machine
deleted unecessary test code