Complete assignment 6