Algorithms, Part 1