Added an initialize method to compound

This allows you to pass any number of atoms to the compound constructor to generate any type of compound.