begin implementing the constructor for the molecule