Update RandomGeneration.java