Swift Sequence implementations of various C++ STL Algorithms.