Final for assignment 3