Submission code for DAT510 Assignment 1, 2 and 3 respectively