Update molecules.py

molecule class update,
new methods
todo: make a bon class, and pair, get pair functions