Building Ionic and Covalent compounds