Excercise for my lecture in Algorithm Engineering.