Update LEROI.java

Finished converting code to java