dc motor forward and reverse controller using g relay