first commit RGenerator.java

add R test script

fixed div and mod operator

modified RGenerator

modified RGenerator

fixed typo
Merge pull request #55 from masakiishii/RGenerator

first commit RGenerator.java