adding correct answers for assignment 6