Encoding techniques for pool libraries of small organic molecules