This part includes some useful data structures and algorithms, used frequently in programs or in the Ciao system itself.