Need some guidance, working on a four-wheeled robot

Could you provide a bit more detail about what the code currently than just "it doesn't work"?

And how about what motor driver(s) you are using and perhaps even a circuit diagram showing what things like InAPin, PWMPin3 are connected to and are supposed to do and how everything is powered?

Steve