c++ program to create primitives shapes for CAD