classify molecular structures