Ball driving logic implemented. Needs work on gate substates.