graph hw3. done