Factor out getTurtleOrigin
Merge pull request #12 from PencilCode/optimize

Factor out getTurtleOrigin