Update logarithm.java