Add #inits and #tails functions.
Add #isInfixOf function.