Arto's basic implemenation working with 3-sequences.