Arduino Uno 2WD Car with L298n not working

Yes, the rectangular 9V ones. To be honest I don't know anything about the motors. I was given this project for school and it had been half assembled.

So the code should be this for forward?

//power both Motor
  digitalWrite(IN1, HIGH);
  digitalWrite(IN2, LOW);
  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);

Is the message about the memory in the original post normal? As that is what I have been lead to believe is the problem.