A purely functional cheminformatics toolkit written in Scala