Library for basic Algorithms