Update DiffieHellman.java

Updated code to incorporate JavaDoc