"3 axis robot" doesn't tell me enough about what the robot is supposed to do or how it goes about doing it. I could give you sample code for a three axis pick and place mechanism that uses pneumatic actuators, but if your son is supposed to write code for a robot that uses electric motors to move, my sample wouldn't do him much good.
He should spend his time writing a functional spec for his device instead of asking you to shop for someone to do his homework for him.