Add the intersperse function.