How to wire forward reverse motor control with limit switch