Code for DTU course 31385