update turtle example to take arguments