implemented 3d turtle graphics