Update hashfunction.java