Update L.java

Complete and working, just like I use it