v.1.4

Finally figured out how to implement D-H in Java