Exercises from the Algorithms classes