Algorithms illuminated (part 1).