Handin of assignment 2