check return of getline in sdf reader, return null on error
add mohammed's hbond small molecule code
Lindent to make more readable
use count of scanned fields from fscanf
escape earlier on if statements in hbond to improve indentation