// Various utilities package ui // Returns the maximum value of either x or y. func intMax(x, y int) int { if (x < y) { return y } else { return x } }