AlMa II, 2. Programmieraufgabe / Algorithmic Mathematics II, 2. programming exercise