Converted the routine for identifying molecules from a recursion to a loop.  This avoids stack overflows with very long linear molecules.
Merge pull request #87 from peastman/molecules

Eliminated a potential stack overflow when identifying molecules