Code@LTH NWERC21 Warmup #5 - Dynamic Programming