first commit RGenerator.java

first commit RGenerator