Using Random nextInt() instead of Math.random()