add new sample code for 3d turtle