storing and comparing Adjacency outsourced into two new functions.
New functions:
ructure of the molecule