Groovy turtle&#039;s number match