Enter file to read from: fb1.txt 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 1 Harry (Gryffindor) is friends with Ron (Gryffindor) Hermione (Gryffindor) Cho (Ravenclaw) Ron (Gryffindor) is friends with Harry (Gryffindor) Hermione (Gryffindor) Hermione (Gryffindor) is friends with Harry (Gryffindor) Ron (Gryffindor) Luna (Ravenclaw) Draco (Slytherin) is friends with nobody. Ernie (Hufflepuff) is friends with Hannah (Hufflepuff) Hannah (Hufflepuff) is friends with Ernie (Hufflepuff) Luna (Ravenclaw) is friends with Hermione (Gryffindor) Cho (Ravenclaw) is friends with Harry (Gryffindor) 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 2 Who to look for? Hermione Hermione (Gryffindor) is friends with Harry (Gryffindor) Ron (Gryffindor) Luna (Ravenclaw) 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 3 Harry (Gryffindor) is friends with Cho (Ravenclaw) Hermione (Gryffindor) is friends with Luna (Ravenclaw) Luna (Ravenclaw) is friends with Hermione (Gryffindor) Cho (Ravenclaw) is friends with Harry (Gryffindor) 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 4 What is this person's name? Cedric What is their house? Hufflepuff 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 5 Name 1? Cedric Name 2? Harry 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 4 What is this person's name? Pansy What is their house? Slytherin 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 5 Name 1? Draco Name 2? Pansy 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 1 Harry (Gryffindor) is friends with Ron (Gryffindor) Hermione (Gryffindor) Cho (Ravenclaw) Cedric (Hufflepuff) Ron (Gryffindor) is friends with Harry (Gryffindor) Hermione (Gryffindor) Hermione (Gryffindor) is friends with Harry (Gryffindor) Ron (Gryffindor) Luna (Ravenclaw) Draco (Slytherin) is friends with Pansy (Slytherin) Ernie (Hufflepuff) is friends with Hannah (Hufflepuff) Hannah (Hufflepuff) is friends with Ernie (Hufflepuff) Luna (Ravenclaw) is friends with Hermione (Gryffindor) Cho (Ravenclaw) is friends with Harry (Gryffindor) Cedric (Hufflepuff) is friends with Harry (Gryffindor) Pansy (Slytherin) is friends with Draco (Slytherin) 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 6 Name 1? Cho Name 2? Harry 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 1 Harry (Gryffindor) is friends with Ron (Gryffindor) Hermione (Gryffindor) Cedric (Hufflepuff) Ron (Gryffindor) is friends with Harry (Gryffindor) Hermione (Gryffindor) Hermione (Gryffindor) is friends with Harry (Gryffindor) Ron (Gryffindor) Luna (Ravenclaw) Draco (Slytherin) is friends with Pansy (Slytherin) Ernie (Hufflepuff) is friends with Hannah (Hufflepuff) Hannah (Hufflepuff) is friends with Ernie (Hufflepuff) Luna (Ravenclaw) is friends with Hermione (Gryffindor) Cho (Ravenclaw) is friends with nobody. Cedric (Hufflepuff) is friends with Harry (Gryffindor) Pansy (Slytherin) is friends with Draco (Slytherin) 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 7 Who to remove? Harry 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 1 Ron (Gryffindor) is friends with Hermione (Gryffindor) Hermione (Gryffindor) is friends with Ron (Gryffindor) Luna (Ravenclaw) Draco (Slytherin) is friends with Pansy (Slytherin) Ernie (Hufflepuff) is friends with Hannah (Hufflepuff) Hannah (Hufflepuff) is friends with Ernie (Hufflepuff) Luna (Ravenclaw) is friends with Hermione (Gryffindor) Cho (Ravenclaw) is friends with nobody. Cedric (Hufflepuff) is friends with nobody. Pansy (Slytherin) is friends with Draco (Slytherin) 1. Print all people and friends. 2. Print the friends of a person. 3. Print friends who are in different houses. 4. Add a new person. 5. Add a new friendship. 6. Remove a friendship. 7. Remove a person (and all their friendships). 8. Quit. Enter choice: 8