Added functions encodeSplit and SplitA.
Updated TODO.