compiling RobotArm.cpp