File containing solution to assignment 2