I'm studying computer science in Heidelberg, Germany and I'll try to create a sample solution for my programming exam from my first semester