Create MolarMass.java

Reference molar mass implementation in Java.