File containing solution to assigntment 2