Source code for an assignment in dk.itu.spct.ma2