Xbee communication

Hello,
I have a question about wireless communication using Xbee’s. I was wondering if it is possible to load sketches on to two arduino uno’s and then communicate between the two? I am building a robot that goes forward and reverse only (no turning) and I have been successful getting the program onto an arduino that turns the motors with a potentiometer. From center if I turn it CW the motor goes one direction accelerating and CCW the motor turns the other direction accelerating, with a null in the center. I have the xbee’s set up and communicating with the blinking diode example but can’t get any farther than that. Are there any other tutorials out there that would help me with the Serial.print, Serial.println, Serial.read….etc. I would like to turn the potentiometer on one Arduino and have it drive the motors on the remote via Xbee.
Chris