2 DC Motors + L293d using analog pins to virtual pins

Well, I am crashing for the night, so here is one link that should help you get started: