source code and exercises in Algorithms