Unit 2: Algorithms and programming