EDR cortex / wiring trouble

I would look at the following:

1-3 ports are left drive motors
4-5, 10 ports are right drive motors

As for the other motors, yeesh.

Heres some simple code I made from a long time ago for you to program on your own. Also note that ROBOTC should have sample code you can download as well if you have ROBOTC installed: