1.1 From problem to program