Update HashChain.java