Metal-Nonmetal Bond Candidate Matrix - Coding problem | OneNoughtOne