General Purpose Data Structures and Algorithms