exercices from control structures