Solution to Assignment 2 Excersize 2.a