Babysitter coding kata in Groovy