Correct solution for assignment 3