Generate random int from min-max
int random(int min, int max) { return min + Random().nextInt(max - min); }