Completed assignment 6.