Disclaimer note: I\'m looking for a library, or pre-existing function that accomplishes this. Similar questions ask about the fundamental algorithm where I am looking fo