Programming work for 'Einführung in die Programmierung' Lecture at LMU Munich