collection of programming support routines and useful algorithms