Array implementation, general definitions and few small algorithms.