groovy

Implement a "lowest upper bound" algorithm