Modified predicate in turtle for project