Update Recursion.java

Not main perpendicular and possibility to set the inverse